package train3;

public class B extends A {
protected  void  f(){ }
	
	public void  k(){
		System.out.print("I  am  subclass");
	}
	
	public  static  void  main(String[]  args)  {
		A  a=new  B();
		a.f();
	    a.k();
	}

}
